using Verse;

namespace RimWorld;

public class PlaceWorker_DeepDrill : PlaceWorker_ShowDeepResources
{
	public override AcceptanceReport AllowsPlacing(BuildableDef checkingDef, IntVec3 loc, Rot4 rot, Map map, Thing thingToIgnore = null, Thing thing = null)
	{
		if (DeepDrillUtility.GetNextResource(loc, map) == null)
		{
			return "MustPlaceOnDrillable".Translate();
		}
		return true;
	}
}
